package com.pcs.model;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;


public class Remind extends Model<Remind> {
	
	public static final Remind remindDao = new Remind();
	
	public Page<Remind> paginate(int pageNumber, int pageSize) {
		return paginate(pageNumber, pageSize, "select *", "from remind where status = 'A' order by id asc");
	}
	
	public Page<Remind> _paginate(int pageNumber, int pageSize) {
		return paginate(pageNumber, pageSize, "select *", "from remind where title like '%birth%' order by id asc");
	}
}
